package com.szis.auth.oauth2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: yxl
 * 2025-07-16
 */

@Data
@Accessors(chain = true)
public class BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("bid")
    private Long bid;

    @TableField("createUser")
    private String createUser;

    @TableField("createTime")
    private Date createTime;

    @TableField("updateUser")
    private String updateUser;

    @TableField("updateTime")
    private Date updateTime;

    @TableField("version")
    private Integer version;

    @TableField("delFlag")
    private Integer delFlag;

}
